package com.avic.process.export.util;

import com.teamcenter.rac.kernel.TCComponentForm;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCException;

public class ItemInfo {
	public TCComponentItem item;
	public TCComponentItemRevision itemRev;
	public TCComponentForm itemRevForm;

	public ItemInfo(TCComponentItemRevision processRev) throws TCException {
		this.itemRev = (TCComponentItemRevision) processRev
				.getRelatedComponent("IMAN_METarget");
		if (this.itemRev != null) {
			this.item = itemRev.getItem();
			this.itemRevForm = (TCComponentForm) itemRev
					.getRelatedComponent("IMAN_master_form_rev");
		}
	}
}
